# command from sis-manager `sisman update [[package]...|'or all']`
# command from key-manager `keyman update [[package]...|'or all']`

# pull packages-repo from git (from notabug.org)
"
for i in $repos_without-bin:
	cd i
	git pull
	cd ..
"

# then

# clear copy src and copy
"
# touch sources and scripts, then rm old, then copy
# or
clear sh src: rm $SIS-SH/* $SIS-SRC/*
for i in $sources:
	cp $i $SIS_SRC/$i.cpp

for i in $scripts:
	cp $i $SIS_SRC/$i
"


# then

# compile source codes (from $SIS-SRC) in $SIS-BIN
"
clear bin: rm $SIS-BIN/*
for i in $sources
	g++ $SIS_SRC/$i.cpp -o $SIS_BIN/$i
"


# remember shell scripts (in $SIS-SH) as run-files (chmod +x)




# .cache:

# conf_dir="$HOME/sis/sis-conf"

# ln -s $conf_dir/config ~/.sway/config

# rm -r $SIS_SH/*
# rm -r $SIS_BIN/*
# cp -Ru $HOME/sis/sis-sh/* $SIS_SH
# cp -Ru $HOME/sis/sis-bin/* $SIS_BIN
# 
# chmod +x $SIS_BIN/*
# chmod +x  $SIS_BIN/*

